home *** CD-ROM | disk | FTP | other *** search
/ Electronic Airworthiness Directives / Flightline's Airworthiness Directives.ISO / install.dat < prev    next >
Encoding:
Text File  |  1991-08-08  |  5.0 KB  |  192 lines

  1.  
  2.  
  3. @DefineProject
  4.     @Name       = "FLIGHTLINE ELECTRONIC ADs"
  5.     @Version    = "1.00"
  6.     @OutDrive   = C
  7.     @Group      = ""
  8.     @SUBDIR     = "\\EAD"
  9. @EndProject
  10.  
  11. @Display
  12.     @Cls
  13.  
  14.     This program will install
  15.     @Name Version @Version
  16.     on your computer system and verify the integrity of the distribution
  17.     CD. You may press the [Esc] key at any time to abort the installation
  18.     INSTALL will ask you several questions about your computer hardware
  19.     and then give you the option of installing only selected parts of 
  20.     @Name (such as the graphics drivers). 
  21.     Each question has a default answer. If the default answer is correct,
  22.     press the ENTER key in response to the question. Otherwise, type the
  23.     answer and then press the ENTER key. If you make a mistake while 
  24.     typing, press the BACKSPACE key and then retype the answer.
  25.     
  26.     @IF (@DISKFREE @OUTDRIVE < 1500000)
  27.         The selected output disk drive only has @DISKFREE @OUTDRIVE bytes
  28.         available. This product requires 1.5Mb (1500000 bytes) of free
  29.         disk space to properly install.
  30.  
  31.         @PAUSE
  32.         @ABORT
  33.     @ENDIF
  34.  
  35.     @Pause
  36. @EndDisplay
  37.  
  38. @GetOutDrive
  39.     @Cls
  40.  
  41.     On which disk drive do you wish to install @Name?
  42. @EndOutDrive
  43.  
  44. @Display
  45.     @Cls
  46.     @IF (@DISKFREE @OUTDRIVE < 1500000)
  47.  
  48.         The selected output disk drive only has @DISKFREE @OUTDRIVE bytes
  49.         available. This product requires 1.5Mb (1500000 bytes) of free
  50.         disk space to properly install.
  51.  
  52.         @PAUSE
  53.         @ABORT
  54.     @ENDIF
  55. @EndDisplay
  56.  
  57. @GetSubdir
  58.     @Cls
  59.     
  60.     Now you need to specify the disk destination subdirectory.
  61.     The subdirectory is the location on your disk where the 
  62.     @Name system will be installed.
  63.         
  64.     @Prompt = "Which subdirectoy ([Enter] = @Subdir) ?"
  65.  
  66. @EndSubdir
  67.  
  68. @GETGROUPS
  69.     Please select your VIDEO option.
  70.  
  71.     @SET A    =    "HERCULES VIDEO GRAPHICS ADAPTER"
  72.     @SET B    =    "EGA VIDEO GRAPHICS ADAPTER"
  73.     @SET C    =    "VGA VIDEO GRAPHICS ADAPTER"
  74.     @SET D    =    "NO VIDEO ADAPTER"
  75.  
  76. @ENDGROUPS
  77.  
  78. @GETGROUPS
  79.     Please select your printer option.
  80.  
  81.     @SET F    =    "LASERJET PARALELL (LOCAL OR NETWORK)"
  82.     @SET G    =    "LASERJET JLASER (LOCAL ONLY)"
  83.     @SET H    =    "NO GRAPHICS PRINTER"
  84.  
  85. @ENDGROUPS
  86.  
  87. @DefineDisk
  88.     @Label = "CD-ROM"
  89.  
  90. @FILE EAD.BAT            @OUT *.* 
  91. @FILE EAD.DBF            @OUT *.* 
  92. @FILE EAD.HLP            @OUT *.* 
  93. @FILE EAD.IMD            @OUT *.* 
  94. @FILE EAD.IMI            @OUT *.* 
  95. @FILE EAD.STP            @OUT *.* 
  96. @FILE EAD.WHI            @OUT *.* 
  97.  
  98. @FILE UPDATE.CAT         @OUT *.* 
  99. @FILE UPDATE.CIX         @OUT *.* 
  100. @FILE UPDATE.DCT         @OUT *.* 
  101. @FILE UPDATE.IMG         @OUT *.* 
  102. @FILE UPDATE.REF         @OUT *.* 
  103. @FILE UPDATE.TXT         @OUT *.* 
  104.  
  105. @FILE FTSMAIN.EXE        @OUT *.* 
  106. @FILE RBPR.EXE           @OUT *.* 
  107. @FILE REFBOOK.EXE        @OUT *.* 
  108. @FILE RTIRET.BIN         @OUT *.* 
  109. @FILE RSIMG.EXE          @OUT *.* 
  110.  
  111. @FILE RSIMGHER.CFG       @OUT RSIMG.CFG @GROUP A
  112. @FILE RSIMGEGA.CFG       @OUT RSIMG.CFG @GROUP B
  113. @FILE RSIMGVGA.CFG       @OUT RSIMG.CFG @GROUP C
  114. @FILE HERIDRV.COM        @OUT *.* @GROUP A
  115. @FILE EGAIDRV.COM        @OUT *.* @GROUP B
  116. @FILE VGAIDRV.COM        @OUT *.* @GROUP C
  117. @FILE JLPIDRV.COM        @OUT *.* @GROUP G
  118. @FILE HPPIDRV.COM        @OUT *.* @GROUP F
  119.  
  120. @EndDisk
  121.  
  122.  
  123. @SETCONFIG
  124.     @askoverwrite
  125.  
  126.     @IF('A'[=@GROUP)
  127.        @DEVICE = "@OUTDRIVE:@SUBDIR\\HERIDRV.COM"
  128.     @ENDIF
  129.  
  130.     @IF('B'[=@GROUP)
  131.        @DEVICE = "@OUTDRIVE:@SUBDIR\\EGAIDRV.COM"
  132.     @ENDIF
  133.  
  134.     @IF('C'[=@GROUP)
  135.        @DEVICE = "@OUTDRIVE:@SUBDIR\\VGAIDRV.COM"
  136.     @ENDIF
  137.  
  138.     @IF('F'[=@GROUP)
  139.        @DEVICE = "@OUTDRIVE:@SUBDIR\\HPPIDRV.COM"
  140.     @ENDIF
  141.  
  142.     @IF('G'[=@GROUP)
  143.        @DEVICE = "@OUTDRIVE:@SUBDIR\\JLPIDRV.COM"
  144.     @ENDIF
  145.  
  146. @ENDCONFIG
  147.  
  148. @FINISH
  149.  
  150.     /* Fix the configuration files with the proper CD-ROM drive */
  151.  
  152.     Configuring @name for your system. Please Wait...
  153.  
  154.     @SYSTEM "@INDRIVE:REPLAC #1 @INDRIVE: @INDRIVE:EAD.CFG @OUTDRIVE:@SUBDIR\\EAD.CFG"
  155.  
  156.     @SYSTEM "@INDRIVE:REPLAC #1 @INDRIVE: @INDRIVE:EAD.ICF @OUTDRIVE:@SUBDIR\\EAD.ITP"
  157.     @SYSTEM "@INDRIVE:REPLAC #2 @OUTDRIVE:@SUBDIR @OUTDRIVE:@SUBDIR\\EAD.ITP @OUTDRIVE:@SUBDIR\\EAD.ICF"
  158.     @SYSTEM "DEL @OUTDRIVE:@SUBDIR\\EAD.ITP"
  159.  
  160.     @SYSTEM "@INDRIVE:REPLAC #2 @OUTDRIVE:@SUBDIR @INDRIVE:EAD.IMF @OUTDRIVE:@SUBDIR\\EAD.IMF"
  161.  
  162.     @SYSTEM "@INDRIVE:REPLAC #2 @OUTDRIVE:@SUBDIR @INDRIVE:EAD.WHL @OUTDRIVE:@SUBDIR\\EAD.WHL"
  163.  
  164.     @SYSTEM "@INDRIVE:REPLAC #2 @OUTDRIVE:@SUBDIR @INDRIVE:UPDATE.CFG @OUTDRIVE:@SUBDIR\\UPDATE.CFG"
  165.  
  166.     @CHDRIVE @OUTDRIVE
  167.     @CHDIR "@SUBDIR"
  168.  
  169. @CLS
  170.  
  171.     No errors were detected during installation.
  172.  
  173.     Installation is now complete.
  174.  
  175.     If you chose to install a graphics printer
  176.     or a video graphics adaptor then please
  177.     reboot your system to allow the drivers
  178.     to install.
  179.  
  180.     Then enter the subdirectory "@SUBDIR".
  181.  
  182.     and execute the batch file named "EAD".
  183.  
  184.  
  185.    @PAUSE
  186.    @CLS
  187.  
  188. @EndFinish
  189.  
  190. /* end-of-file */
  191.  
  192.